package com.david.mapper;

import com.david.pojo.A;
import com.david.pojo.B;
import com.david.pojo.Girl;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface GirlMapper {



    int insert(Girl girl);

    Girl queryById(Long id);

    Girl queryByNameFlower(@Param("name") String name,@Param("flower") String flower);

    Girl queryByNameFlowerBean(Girl girl);

    Girl queryByNameFlowerMap(Map<String,Object> map);

    Girl queryByAB(@Param("a") A a, @Param("b")B b);

}
